#ifndef Node_h
#define Node_h
#include <iostream>

template<class TEntity>
class Node
{
      private :
              TEntity *data;
              Node<TEntity> *previous;
              Node<TEntity> *next;
      
      public :
             Node();
             Node(TEntity *entity);
             TEntity* getData();
             Node<TEntity>* getPrevious();
             Node<TEntity>* getNext();
             
             void setData(TEntity *entity);
             void setPrevious(Node<TEntity> *entity);
             void setNext(Node<TEntity> *entity);           
};
#endif
